﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBACProject.Domian
{
    /// <summary>
    /// 角色-菜单关系表
    /// </summary>
    [Table("RoleMenuModel")]
    public class RoleMenuModel : Audti
    {
        /// <summary>
        /// 角色-菜单关系ID
        /// </summary>
        [Key]
        public int RMId { get; set; }
        
        /// <summary>
        /// 角色ID 
        /// </summary>
        public int RoleId { get; set; }    

        /// <summary>
        /// 菜单ID
        /// </summary>
        public int MenuId { get; set; }    
    }
}
